package com.medical.sys.service;

import com.medical.sys.model.Department;

import java.util.List;

/**
 * Created by Administrator on 2015-08-28.
 */
public interface DepartmentService {
    Department selectByPrimaryKey(String id);
    List<Department> selectAllDepartment();
    void saveDepartment(Department department);
    void updateByPrimaryKey(Department record);
    void deleteDepartment(String id);
    void deleteDepartment(String id, Boolean administrator);

}
